<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : correspondencia
    Created on : 14/04/2014, 11:41:32 AM
    Author     : RVGRFD85 
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <html id="outputHtml1">
            <head id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./xmlhttp/css/rime/rime.css" id="outputStyle2"/>
                <ice:outputStyle href="./resources/mystyle.css" id="outputStyle3"/>
                <script language="javascript">
                    var cliked=false;
                    function upper(obj,id){
                        obj = obj.toUpperCase();
                        document.getElementById(id).value = obj;
                    }
                    function focoTexto(){
                        if(cliked==false){
                            var ano=document.getElementById("form1:inputText14").value;
                            var mes=document.getElementById("form1:inputText15").getValue();
                            var dia=document.getElementById("form1:inputText16").getValue();
                            document.getElementById("form1:inputTextarea1").value="Se impone una pena de "+ano+" años "+mes+" meses "+dia + " dias";
                            cliked=true;
                        }
                    }
                    function tofalse(){
                        cliked=false;
                    }
                    function openWindow(url, titulo, caracteristicas){
                        var popup;
                        try {
                            if(caracteristicas==null || caracteristicas=='')
                                caracteristicas='width=830,height=600,dependent=yes,scrollbars=yes,resizable=yes,location=no,menubar=yes,personalbar=no';
                            if(!(popup = window.open(url,titulo,caracteristicas)))
                                throw "ErrPop"
                            popup.focus();
                        } catch ( err ) {
                            if(err == "ErrPop"){
                                msj = "A T E N C I Ó N ¡El bloqueo de popups esta activo, para poder ver la información debe desactivarla!"
                            }else{
                                msj = "Hubo un error en la página."
                                msj+= "Descripción del error: " + err.description + "."
                            }
                            window.open( url , 'Ventana' , caracteristicas , 'false' );
                        }
                    }
                </script>
            </head>
            <body class="blue-bg" id="outputBody1" style="-rave-layout: grid">
                <ice:form id="form2">
                    <ice:panelPopup autoCentre="true" draggable="true" id="panelPopup2" rendered="#{correspondencia.ventanaNuevo}"
                        style="background-color: rgb(221, 221, 221); position: absolute; left: 552px; top: 72px; height: 750px; width: 1200px; display: block;" visible="#{correspondencia.panelPopup2Bean2.showModalPanel}">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid5" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText33" value="Registrar oficio"/>
                                <ice:commandButton action="#{correspondencia.button_9_action}" id="button_9" image="/images/icons/close.png" style="height: 15px; left: 1175px; top:3; position: absolute; width: 15px"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGrid id="panelGrid6" style="display:block;width:100%;height:100%; background-color: #G1G1G1;">
                                <ice:outputText id="outputText2" style="font-size: 16px" value="#{correspondencia.tituloFecha}"/>
                                <ice:panelLayout id="panelLayout1"
                                    style="border-style: solid; border-color: rgb(153, 153, 153) rgb(153, 153, 153) rgb(153, 153, 153) rgb(153, 153, 153); height: 250px; visibility: visible; width:97%" visible="true">
                                    <ice:outputLabel id="outputLabel10" style="left: 288px; top: 24px; position: absolute" value="Asunto"/>
                                    <ice:inputText id="inputText9" style="left: 22px; top: 46px; position: absolute; width: 189px" value="#{correspondencia.unOficio.oficio}"/>
                                    <ice:outputLabel id="outputLabel12" style="left: 24px; top: 96px; position: absolute" value="Fecha Recepción"/>
                                    <ice:selectInputDate id="selectInputDate3" popupDateFormat="dd/MM/yyyy" renderAsPopup="true" renderMonthAsDropdown="true"
                                        renderYearAsDropdown="true" style="height: 19px; left: 24px; top: 120px; position: absolute; width: 187px" value="#{correspondencia.unOficio.fechaRec}">
                                        <f:convertDateTime timeZone="#{correspondencia.timeZone}"/>
                                    </ice:selectInputDate>
                                    <ice:outputLabel id="outputLabel9" style="left: 24px; top: 24px; position: absolute" value="Origen / No. Oficio"/>
                                    <ice:outputLabel id="outputLabel11" style="left: 288px; top: 96px; position: absolute" value="Instancia"/>
                                    <ice:selectOneMenu id="selectOneMenu1" partialSubmit="true" style="left: 286px; top: 46px; position: absolute; width: 189px" value="#{correspondencia.asuntoInt}">
                                        <f:selectItems id="selectOneMenu1selectItems" value="#{correspondencia.selectOneMenu1DefaultItems}"/>
                                    </ice:selectOneMenu>
                                    <ice:selectOneMenu id="selectOneMenu2" partialSubmit="true"
                                        style="left: 286px; top: 118px; position: absolute; width: 189px" value="#{correspondencia.instanciaInt}">
                                        <f:selectItems id="selectOneMenu2selectItems" value="#{correspondencia.selectOneMenu2DefaultItems}"/>
                                    </ice:selectOneMenu>
                                    <ice:outputLabel id="outputLabel13" style="left: 576px; top: 24px; position: absolute" value="Descripcion del asunto"/>
                                    <ice:inputTextarea id="inputTextarea1" style="height: 165px; left: 574px; top: 46px; position: absolute; width: 528px" value="#{correspondencia.unOficio.descripcion}"/>
                                    <ice:inputText id="inputText5" style="left: 22px; top: 190px; position: absolute; width: 237px" value="#{correspondencia.remitente.nombre}"/>
                                    <ice:outputLabel id="outputLabel14" style="left: 24px; top: 168px; position: absolute" value="Remitente"/>
                                    <ice:inputText id="inputText10" style="left: 286px; top: 190px; position: absolute; width: 237px" value="#{correspondencia.remitente.cargo}"/>
                                    <ice:outputLabel id="outputLabel15" style="left: 288px; top: 168px; position: absolute" value="Cargo"/>
                                    <ice:selectOneRadio id="selectOneRadio1" partialSubmit="true" rendered="false" required="false"
                                        style="left: 800px; top: 24px; position: absolute" value="#{correspondencia.selectOneRadio1Bean.selectedObject}" valueChangeListener="#{correspondencia.valueChange}">
                                        <f:selectItem itemLabel="Normal" itemValue="1"/>
                                        <f:selectItem itemLabel="Urgente" itemValue="2"/>
                                        <f:selectItem itemLabel="Extra Urgente" itemValue="3"/>
                                    </ice:selectOneRadio>
                                </ice:panelLayout>
                                <ice:outputText id="outputText4" style="font-size: 16px; height: 220px; top: 330px; position: absolute;" value="Turnado a:"/>
                                <ice:selectOneRadio id="selectOneRadio2" partialSubmit="true" required="false"
                                    style="left:100px; top: 328px; position: absolute" value="#{correspondencia.selectOneRadio2Bean.selectedObject}" valueChangeListener="#{correspondencia.valueChange}">
                                    <f:selectItem itemLabel="Turnar" itemValue="1"/>
                                    <f:selectItem itemLabel="No Turnar" itemValue="2"/>
                                </ice:selectOneRadio>
                                <ice:panelLayout id="panelLayout3" style="border-style: solid; border-color: rgb(153, 153, 153); height: 220px; top: 350px; position: absolute; width: 97%">
                                    <ice:panelLayout id="panelLayout7" style="height: 100%; width: 360px;">
                                        <ice:outputLabel id="outputLabel4" style="left: 24px; top: 24px; position: absolute" value="Oficio"/>
                                        <ice:inputText id="inputText1" onkeyup="upper(this.value, this.id)" style="left: 100px; top: 22px; position: absolute" value="#{correspondencia.turnado.oficio}"/>
                                        <ice:outputLabel id="outputLabel2" style="left: 24px; top: 48px; position: absolute" value="Nombre (s)"/>
                                        <ice:inputText id="inputText2" onkeyup="upper(this.value, this.id)" style="left: 100px; top: 46px; position: absolute" value="#{correspondencia.turnado.nombre}"/>
                                        <ice:outputLabel id="outputLabel6" style="left: 24px; top: 72px; position: absolute" value="A. Paterno"/>
                                        <ice:inputText id="inputText6" onkeyup="upper(this.value, this.id)" style="left: 100px; top: 70px; position: absolute" value="#{correspondencia.turnado.paterno}"/>
                                        <ice:outputLabel id="outputLabel7" style="left: 24px; top: 96px; position: absolute" value="A. Materno"/>
                                        <ice:inputText id="inputText7" onkeyup="upper(this.value, this.id)" style="left: 100px; top: 94px; position: absolute" value="#{correspondencia.turnado.materno}"/>
                                        <ice:outputLabel id="outputLabel8" style="left: 24px; top: 120px; position: absolute" value="Cargo"/>
                                        <ice:inputText id="inputText8" onkeyup="upper(this.value, this.id)" style="left: 100px; top: 118px; position: absolute" value="#{correspondencia.turnado.cargo}"/>
                                        <ice:commandButton action="#{correspondencia.button2_action}" id="button2" image="/resources/images/addtable.jpg"
                                            style="height: 72px; left: 260px; top: 72px; position: absolute; width: 72px" title="Agregar turnado" value="submit"/>
                                        <ice:outputLabel id="outputLabel3" style="left: 24px; top: 170px; position: absolute" value="Fecha"/>
                                        <ice:selectInputDate id="selectInputDate1" popupDateFormat="dd/MM/yyyy" renderAsPopup="true"
                                            renderMonthAsDropdown="true" renderYearAsDropdown="true"
                                            style="height: 19px; left: 100px; top: 170px; position: absolute; width: 141px" value="#{correspondencia.turnado.fecha}"/>
                                        <ice:outputLabel id="outputLabel35" style="left: 24px; top: 144px; position: absolute" value="Oficina Destino"/>
                                        <ice:inputText id="inputText12" onkeyup="upper(this.value, this.id)" style="left: 100px; top: 144px; position: absolute" value="#{correspondencia.turnado.destino}"/>
                                    </ice:panelLayout>
                                    <ice:panelLayout id="panelLayout8" style="height: 100%; width: 65%; left:360px;">
                                        <ice:dataTable columnWidths="150px;150px;150px;150px;150px;" id="dataTable2" scrollHeight="150px" scrollable="true"
                                            value="#{correspondencia.turnadosTmp}" var="currentRow">
                                            <ice:column id="column10" style="width:150px; text-align: center;">
                                                <ice:outputText id="outputText42" style="width:150px"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText25" style="width:150px" value="Opciones"/>
                                                </f:facet>
                                                <ice:commandLink actionListener="#{correspondencia.commandLink1_processAction}" id="commandLink1">
                                                    <ice:graphicImage id="graphicImage1" style="border-style: none; height: 22px; width: 18px" title="Quitar" url="/resources/images/delete.png"/>
                                                </ice:commandLink>
                                                <ice:commandLink actionListener="#{correspondencia.commandLink2_processAction}" id="commandLink2">
                                                    <ice:graphicImage id="graphicImage2" style="border-style: none; height: 18px; width: 18px" title="Editar" url="/resources/images/edit.png"/>
                                                </ice:commandLink>
                                            </ice:column>
                                            <ice:column id="column18" style="width: 150px">
                                                <ice:outputText id="outputText49" style="width:140px" value="#{currentRow.oficio}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText50" style="width:140px" value="Oficio"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column9" style="width: 150px">
                                                <ice:outputText id="outputText22" style="width:140px" value="#{currentRow.nombre}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText23" style="width:140px" value="Nombre"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column8" style="width: 150px">
                                                <ice:outputText id="outputText20" style="width:140px" value="#{currentRow.paterno}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText21" style="width:140px" value="Apellido paterno"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column7" style="width: 150px">
                                                <ice:outputText id="outputText18" style="width:140px" value="#{currentRow.materno}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText19" style="width:140px" value="Apellido materno"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column6" rendered="false" style="width: 150px">
                                                <ice:outputText id="outputText16" style="width:140px"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText17" style="width:140px" value="Alias"/>
                                                </f:facet>
                                            </ice:column>
                                        </ice:dataTable>
                                    </ice:panelLayout>
                                </ice:panelLayout>
                                <ice:outputText id="outputText15" style="font-size: 16px; height: 220px; top: 580px; position: absolute;" value="Complemento"/>
                                <ice:panelLayout id="panelLayout6" style="border-style: solid; border-color: rgb(153, 153, 153); height: 130px; top: 600px; position: absolute; width: 97%">
                                    <ice:commandButton action="#{correspondencia.button5_action}" id="button5" image="/resources/images/apply.png"
                                        style="height: 91px; left: 960px; top: 24px; position: absolute; width: 84px" title="Guardar" value="submit"/>
                                    <ice:commandButton action="#{correspondencia.button7_action}" id="button7" image="/resources/images/cancel.png"
                                        style="height: 91px; left: 1056px; top: 24px; position: absolute; width: 84px" title="Cancelar" value="submit"/>
                                    <ice:inputTextarea id="inputTextarea2" style="height: 93px; left: 22px; top: 22px; position: absolute; width: 837px" value="#{correspondencia.unOficio.observaciones}"/>
                                    <ice:outputLabel id="outputLabel1" style="left: 24px; top: 0px; position: absolute" value="Observaciones"/>
                                </ice:panelLayout>
                            </ice:panelGrid>
                        </f:facet>
                    </ice:panelPopup>
                    <ice:panelPopup autoCentre="true" draggable="true" id="panelPopup4" rendered="#{correspondencia.ventanaEdit}"
                        style="background-color: rgb(221, 221, 221); position: absolute; left: 552px; top: 72px; height: 750px; width: 1200px; display: block;" visible="#{correspondencia.panelPopup2Bean2.showModalPanel}">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid9" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText51" value="Registrar oficio"/>
                                <ice:commandButton action="#{correspondencia.button_2_action}" id="button_2" image="/images/icons/close.png" style="height: 15px; left: 1175px; top:3; position: absolute; width: 15px"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGrid id="panelGrid10" style="display:block;width:100%;height:100%; background-color: #G1G1G1;">
                                <ice:outputText id="outputText52" style="font-size: 16px" value="#{correspondencia.tituloFecha}"/>
                                <ice:panelLayout id="panelLayout15"
                                    style="border-style: solid; border-color: rgb(153, 153, 153) rgb(153, 153, 153) rgb(153, 153, 153) rgb(153, 153, 153); height: 250px; visibility: visible; width:97%" visible="true">
                                    <ice:outputLabel id="outputLabel36" style="left: 288px; top: 24px; position: absolute" value="Asunto"/>
                                    <ice:inputText id="inputText13" style="left: 22px; top: 46px; position: absolute; width: 189px" value="#{correspondencia.unOficio.oficio}"/>
                                    <ice:outputLabel id="outputLabel37" style="left: 24px; top: 96px; position: absolute" value="Fecha Recepción"/>
                                    <ice:selectInputDate id="selectInputDate4" popupDateFormat="dd/MM/yyyy" renderAsPopup="true" renderMonthAsDropdown="true"
                                        renderYearAsDropdown="true" style="height: 19px; left: 24px; top: 120px; position: absolute; width: 187px" value="#{correspondencia.unOficio.fechaRec}"/>
                                    <ice:outputLabel id="outputLabel38" style="left: 24px; top: 24px; position: absolute" value="Origen / No. Oficio"/>
                                    <ice:outputLabel id="outputLabel39" style="left: 288px; top: 96px; position: absolute" value="Instancia"/>
                                    <ice:selectOneMenu id="selectOneMenu3" partialSubmit="true" style="left: 286px; top: 46px; position: absolute; width: 189px" value="#{correspondencia.asuntoInt}">
                                        <f:selectItems id="selectOneMenu1selectItems1" value="#{correspondencia.selectOneMenu1DefaultItems}"/>
                                    </ice:selectOneMenu>
                                    <ice:selectOneMenu id="selectOneMenu4" partialSubmit="true"
                                        style="left: 286px; top: 118px; position: absolute; width: 189px" value="#{correspondencia.instanciaInt}">
                                        <f:selectItems id="selectOneMenu2selectItems1" value="#{correspondencia.selectOneMenu2DefaultItems}"/>
                                    </ice:selectOneMenu>
                                    <ice:outputLabel id="outputLabel40" style="left: 576px; top: 24px; position: absolute" value="Descripcion del asunto"/>
                                    <ice:inputTextarea id="inputTextarea3" style="height: 165px; left: 574px; top: 46px; position: absolute; width: 528px" value="#{correspondencia.unOficio.descripcion}"/>
                                    <ice:inputText id="inputText14" style="left: 22px; top: 190px; position: absolute; width: 237px" value="#{correspondencia.remitente.nombre}"/>
                                    <ice:outputLabel id="outputLabel41" style="left: 24px; top: 168px; position: absolute" value="Remitente"/>
                                    <ice:inputText id="inputText15" style="left: 286px; top: 190px; position: absolute; width: 237px" value="#{correspondencia.remitente.cargo}"/>
                                    <ice:outputLabel id="outputLabel42" style="left: 288px; top: 168px; position: absolute" value="Cargo"/>
                                    <ice:selectOneRadio id="selectOneRadio3" partialSubmit="true" style="left: 800px; top: 24px; position: absolute"
                                        value="#{correspondencia.selectOneRadio1Bean.selectedObject}" valueChangeListener="#{correspondencia.valueChange}"/>
                                </ice:panelLayout>
                                <ice:outputText id="outputText53" style="font-size: 16px; height: 220px; top: 330px; position: absolute;" value="Turnado a:"/>
                                <ice:selectOneRadio id="selectOneRadio4" partialSubmit="true" style="left:100px; top: 328px; position: absolute"
                                    value="#{correspondencia.selectOneRadio2Bean.selectedObject}" valueChangeListener="#{correspondencia.valueChange}"/>
                                <ice:panelLayout id="panelLayout16" style="border-style: solid; border-color: rgb(153, 153, 153); height: 220px; top: 350px; position: absolute; width: 97%">
                                    <ice:panelLayout id="panelLayout17" style="height: 100%; width: 360px;">
                                        <ice:outputLabel id="outputLabel43" style="left: 24px; top: 24px; position: absolute" value="Oficio"/>
                                        <ice:inputText id="inputText16" style="left: 100px; top: 22px; position: absolute" value="#{correspondencia.turnado.oficio}"/>
                                        <ice:outputLabel id="outputLabel44" style="left: 24px; top: 48px; position: absolute" value="Nombre (s)"/>
                                        <ice:inputText id="inputText17" style="left: 100px; top: 46px; position: absolute" value="#{correspondencia.turnado.nombre}"/>
                                        <ice:outputLabel id="outputLabel45" style="left: 24px; top: 72px; position: absolute" value="A. Paterno"/>
                                        <ice:inputText id="inputText18" style="left: 100px; top: 70px; position: absolute" value="#{correspondencia.turnado.paterno}"/>
                                        <ice:outputLabel id="outputLabel46" style="left: 24px; top: 96px; position: absolute" value="A. Materno"/>
                                        <ice:inputText id="inputText19" style="left: 100px; top: 94px; position: absolute" value="#{correspondencia.turnado.materno}"/>
                                        <ice:outputLabel id="outputLabel47" style="left: 24px; top: 120px; position: absolute" value="Cargo"/>
                                        <ice:inputText id="inputText20" style="left: 100px; top: 118px; position: absolute" value="#{correspondencia.turnado.cargo}"/>
                                        <ice:commandButton action="#{correspondencia.button8_action}" id="button8" image="/resources/images/addtable.jpg"
                                            style="height: 72px; left: 260px; top: 72px; position: absolute; width: 72px" title="Agregar turnado" value="submit"/>
                                        <ice:outputLabel id="outputLabel48" style="left: 24px; top: 170px; position: absolute" value="Fecha"/>
                                        <ice:selectInputDate id="selectInputDate5" popupDateFormat="dd/MM/yyyy" renderAsPopup="true"
                                            renderMonthAsDropdown="true" renderYearAsDropdown="true"
                                            style="height: 19px; left: 100px; top: 170px; position: absolute; width: 141px" value="#{correspondencia.turnado.fecha}"/>
                                        <ice:outputLabel id="outputLabel49" style="left: 24px; top: 144px; position: absolute" value="Oficina Destino"/>
                                        <ice:inputText id="inputText21" style="left: 100px; top: 144px; position: absolute" value="#{correspondencia.turnado.destino}"/>
                                    </ice:panelLayout>
                                    <ice:panelLayout id="panelLayout18" style="height: 100%; width: 65%; left:360px;">
                                        <ice:dataTable columnWidths="150px;150px;150px;150px;150px;" id="dataTable4" scrollHeight="150px" scrollable="true"
                                            value="#{correspondencia.turnadosTmp}" var="currentRow">
                                            <ice:column id="column19" style="width:150px; text-align: center;">
                                                <ice:outputText id="outputText54" style="width:150px"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText55" style="width:150px" value="Opciones"/>
                                                </f:facet>
                                                <ice:commandLink actionListener="#{correspondencia.commandLink5_processAction}" id="commandLink5">
                                                    <ice:graphicImage id="graphicImage11" style="border-style: none; height: 22px; width: 18px" title="Quitar" url="/resources/images/delete.png"/>
                                                </ice:commandLink>
                                                <ice:commandLink actionListener="#{correspondencia.commandLink6_processAction}" id="commandLink6">
                                                    <ice:graphicImage id="graphicImage12" style="border-style: none; height: 18px; width: 18px" title="Editar" url="/resources/images/edit.png"/>
                                                </ice:commandLink>
                                            </ice:column>
                                            <ice:column id="column20" style="width: 150px">
                                                <ice:outputText id="outputText56" style="width:140px" value="#{currentRow.oficio}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText57" style="width:140px" value="Oficio"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column21" style="width: 150px">
                                                <ice:outputText id="outputText58" style="width:140px" value="#{currentRow.nombre}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText59" style="width:140px" value="Nombre"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column22" style="width: 150px">
                                                <ice:outputText id="outputText60" style="width:140px" value="#{currentRow.paterno}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText61" style="width:140px" value="Apellido paterno"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column23" style="width: 150px">
                                                <ice:outputText id="outputText62" style="width:140px" value="#{currentRow.materno}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText63" style="width:140px" value="Apellido materno"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column24" rendered="false" style="width: 150px">
                                                <ice:outputText id="outputText64" style="width:140px"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText65" style="width:140px" value="Alias"/>
                                                </f:facet>
                                            </ice:column>
                                        </ice:dataTable>
                                    </ice:panelLayout>
                                </ice:panelLayout>
                                <ice:outputText id="outputText66" style="font-size: 16px; height: 220px; top: 580px; position: absolute;" value="Complemento"/>
                                <ice:panelLayout id="panelLayout19" style="border-style: solid; border-color: rgb(153, 153, 153); height: 130px; top: 600px; position: absolute; width: 97%">
                                    <ice:commandButton action="#{correspondencia.button9_action}" id="button9" image="/resources/images/apply.png"
                                        style="height: 91px; left: 960px; top: 24px; position: absolute; width: 84px" title="Guardar" value="submit"/>
                                    <ice:commandButton action="#{correspondencia.button11_action}" id="button11" image="/resources/images/cancel.png"
                                        style="height: 91px; left: 1056px; top: 24px; position: absolute; width: 84px" title="Cancelar" value="submit"/>
                                    <ice:inputTextarea id="inputTextarea4" style="height: 93px; left: 22px; top: 22px; position: absolute; width: 837px" value="#{correspondencia.unOficio.observaciones}"/>
                                    <ice:outputLabel id="outputLabel50" style="left: 24px; top: 0px; position: absolute" value="Observaciones"/>
                                </ice:panelLayout>
                            </ice:panelGrid>
                        </f:facet>
                    </ice:panelPopup>
                    <ice:panelPopup autoCentre="true" draggable="true" id="panelPopup1" modal="true" rendered="#{SessionBean1.ventanaAlert}"
                        style="background-color: rgb(221, 221, 221); height: 150px; width: 350px" visible="#{correspondencia.panelPopup1Bean.showModalPanel}">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid2" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText24" value="#{SessionBean1.tituloAlert}"/>
                                <ice:commandButton action="#{correspondencia.btnclose1_action}" id="btnclose1" image="/resources/images/close.png" style="height: 15px; left:330px; top:3; position: absolute; width: 15px"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGrid id="panelGrid3" style="left: 0px; top: -24px; position: absolute">
                                <ice:panelLayout id="panelLayout11" style="left: 1px; top: 30px; position: absolute">
                                    <ice:commandButton action="#{correspondencia.button10_action}" id="button10" image="/resources/images/done.png"
                                        style="left: 144px; top: 120px; position: absolute" value="submit"/>
                                    <ice:outputText id="outputText26" style="left: 20px; top: 40px; position: absolute; text-align: center; width: 320px" value="#{SessionBean1.msgAlert}"/>
                                    <ice:outputText id="outputText27" style="left: 168px; top: 115px; position: absolute" value="OK"/>
                                </ice:panelLayout>
                            </ice:panelGrid>
                        </f:facet>
                    </ice:panelPopup>
                    <ice:panelPopup autoCentre="true" draggable="true" id="panelPopup3" rendered="#{correspondencia.ventanaDetail}"
                        style="background-color: rgb(221, 221, 221); display: block; height: 820px; left: 552px; top: 72px; position: absolute; width: 800px" visible="#{correspondencia.panelPopup2Bean2.showModalPanel}">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid7" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText34" value="Detalles de oficio"/>
                                <ice:commandButton action="#{correspondencia.button_1_action}" id="button_1" image="/images/icons/close.png" style="height: 15px; left: 770px; top:3; position: absolute; width: 15px"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGrid id="panelGrid8" style="display: block; height: 100%; width: 100%; background-color: #G1G1G1;">
                                <ice:outputText id="outputText35" style="font-size: 16px" value="#{correspondencia.tituloFecha}"/>
                                <ice:panelLayout id="panelLayout5"
                                    style="border-style: solid; border-color: rgb(153, 153, 153) rgb(153, 153, 153) rgb(153, 153, 153) rgb(153, 153, 153); height: 250px; visibility: visible; width:95%" visible="true">
                                    <ice:outputLabel id="outputLabel19" style="left: 20px; top: 30px; position: absolute" value="Recibido"/>
                                    <ice:outputLabel id="outputLabel21" style="left: 20px; top: 60px; position: absolute" value="Origen/Oficio"/>
                                    <ice:outputLabel id="outputLabel18" style="left: 20px; top: 90px; position: absolute" value="Asunto"/>
                                    <ice:outputLabel id="outputLabel22" style="left: 20px; top: 120px; position: absolute" value="Instancia"/>
                                    <ice:outputLabel id="outputLabel24" style="left: 20px; top: 150px; position: absolute" value="Remitente"/>
                                    <ice:outputLabel id="outputLabel25" style="left: 20px; top: 180px; position: absolute" value="Cargo"/>
                                    <ice:panelLayout id="panelLayout12" style="height: 100%; width: 350px;">
                                        <ice:outputLabel id="outputLabel27" style="color: rgb(0, 102, 153); left: 100px; top: 30px; position: absolute" value="#{correspondencia.ofiDetail.fechaRec}"/>
                                        <ice:outputLabel id="outputLabel28" style="color: rgb(0, 102, 153); left: 100px; top: 60px; position: absolute" value="#{correspondencia.ofiDetail.oficio}"/>
                                        <ice:outputLabel id="outputLabel26" style="color: rgb(0, 102, 153); left: 100px; top: 90px; position: absolute" value="#{correspondencia.ofiDetail.catAsuntos.asunto}"/>
                                        <ice:outputLabel id="outputLabel29" style="color: rgb(0, 102, 153); left: 100px; top: 120px; position: absolute" value="#{correspondencia.ofiDetail.catInstancias.descripcion}"/>
                                        <ice:outputLabel id="outputLabel31" style="color: rgb(0, 102, 153); left: 100px; top: 150px; position: absolute" value="#{correspondencia.remitetnteDetail}"/>
                                        <ice:outputLabel id="outputLabel33" style="color: rgb(0, 102, 153); left: 100px; top: 180px; position: absolute" value="#{correspondencia.cargoDetail}"/>
                                    </ice:panelLayout>
                                    <ice:outputLabel id="outputLabel23" style="left: 370px; top: 30px; position: absolute" value="Descripcion del asunto"/>
                                    <ice:outputLabel id="outputLabel30" style="color: rgb(0, 102, 153); left: 370px; top: 60px; position: absolute" value="#{correspondencia.ofiDetail.descripcion}"/>
                                </ice:panelLayout>
                                <ice:outputText id="outputText36" style="font-size: 16px; height: 220px; top: 330px; position: absolute;" value="Turnado a:"/>
                                <ice:panelLayout id="panelLayout10" style="border-style: solid; border-color: rgb(153, 153, 153); height: 220px; top: 350px; position: absolute; width: 95%">
                                    <ice:panelLayout id="panelLayout13" style="height: 100%; width: 65%;">
                                        <ice:dataTable columnWidths="140px;140px;140px;140px;140px;" id="dataTable3" scrollHeight="150px" scrollable="true"
                                            value="#{correspondencia.turnadosTmp}" var="currentRow">
                                            <ice:column id="column14" style="width: 100px">
                                                <ice:outputText id="outputText39" style="width:140px" value="#{currentRow.oficio}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText40" style="width:140px" value="Oficio"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column15" style="width: 100px">
                                                <ice:outputText id="outputText41" style="width:140px" value="#{currentRow.nombre}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText43" style="width:140px" value="Nombre"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column16" style="width: 100px">
                                                <ice:outputText id="outputText44" style="width:140px" value="#{currentRow.paterno}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText45" style="width:140px" value="Paterno"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column17" style="width: 100px">
                                                <ice:outputText id="outputText46" style="width:140px" value="#{currentRow.cargo}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText47" style="width:140px" value="Cargo"/>
                                                </f:facet>
                                            </ice:column>
                                            <ice:column id="column13" style="width: 100px">
                                                <ice:outputText id="outputText37" style="width:140px" value="#{currentRow.destino}"/>
                                                <f:facet name="header">
                                                    <ice:outputText id="outputText38" style="width:140px" value="Destino"/>
                                                </f:facet>
                                            </ice:column>
                                        </ice:dataTable>
                                    </ice:panelLayout>
                                </ice:panelLayout>
                                <ice:outputText id="outputText48" style="font-size: 16px; height: 220px; top: 580px; position: absolute;" value="Complemento"/>
                                <ice:panelLayout id="panelLayout14" style="border-style: solid; border-color: rgb(153, 153, 153); height: 130px; top: 600px; position: absolute; width: 95%">
                                    <ice:outputLabel id="outputLabel32" style="left: 24px; top: 10px; position: absolute" value="Observaciones"/>
                                    <ice:outputLabel id="outputLabel34" style="color: rgb(0, 102, 153); left: 24px; top: 40px; position: absolute" value="#{correspondencia.ofiDetail.observaciones}"/>
                                </ice:panelLayout>
                                <ice:commandButton action="#{correspondencia.button_3_action}" id="button_3" image="/images/print.png"
                                    style="left: 300px; top:750; position: absolute; width:50px;  height:68px;" title="Imprimir"/>
                                <ice:commandButton actionListener="#{correspondencia.button_4_processAction}" id="button_4" image="/images/investigacion.png"
                                    style="left: 380px; top:750; position: absolute; width:60px;  height:68px;" title="Abrir Investigación"/>
                                <ice:commandButton actionListener="#{correspondencia.button_5_processAction}" id="button_5" image="/images/procedimiento.png"
                                    style="left: 460px; top:750; position: absolute; width:50px;  height:68px;" title="Abrir Procedimiento"/>
                            </ice:panelGrid>
                        </f:facet>
                    </ice:panelPopup>
                </ice:form>
                <center>
                    <div id="wrapper-flex">
                        <div id="navtabs">
                            <a href="index.jsp">
                                <img height="36" id="nblogo" src="./resources/images/logo.jpg" title="logo" width="46"/>
                            </a>
                            <ul>
                                <li class="hover first">
                                    <a href="index.jsp">Inicio</a>
                                </li>
                                <li class="hover">
                                    <a href="correspondencia.jsp">Correspondencia</a>
                                </li>
                                <li class="hover ">
                                    <a href="investigacion.jsp">Investigaciones</a>
                                </li>
                                <li class="hover ">
                                    <a href="procedimiento.jsp">Procedimientos</a>
                                </li>
                            </ul>
                            <ice:form id="form3">
                                <ul class="float-right" id="social-media">
                                    <ice:commandLink actionListener="#{correspondencia.button4_processAction}" id="commandLink1" style="color: white" value="Salir"/>
                                    <ice:commandButton actionListener="#{correspondencia.button4_processAction}" id="button4"
                                        image="/resources/images/login/door_out.png" value="submit"/>
                                </ul>
                            </ice:form>
                        </div>
                        <ice:form id="form1">
                            <ice:panelCollapsible expanded="true" id="panelCollapsible2">
                                <f:facet name="header">
                                    <ice:panelGroup id="panelGroup2">
                                        <ice:outputText id="outputText3" value="Control de Correspondencia"/>
                                    </ice:panelGroup>
                                </f:facet>
                                <ice:panelGrid id="panelGrid4" style="background-color: #G1G1G1; width: 99%">
                                    <ice:outputText id="outputText6" style="background-color: #G1G1G1; font-size: 16px; left: 20px" value="Registro de Correspondencia"/>
                                    <ice:panelLayout id="panelLayout4" style="border-style: solid; border-color: rgb(153, 153, 153); height: 600px; top: 0px; position: relative; width: 99%">
                                        <ice:panelLayout id="panelLayout2" style="height: 114px; left: 0px; top: 0px; position: absolute; width: 1147px">
                                            <ice:outputLabel id="outputLabel5" style="left: 168px; top: 24px; position: absolute" value="Buscar:"/>
                                            <ice:inputText action="#{correspondencia.inputText3_action}" id="inputText3"
                                                style="left: 168px; top: 46px; position: absolute; width: 431px" value="#{correspondencia.paramSeacrh}"/>
                                            <ice:selectOneRadio id="selectOneRadio1" partialSubmit="true"
                                                style="left: 350px; top: 24px; position: absolute; text-align: right; width: 311px" value="#{correspondencia.selectOneRadio1Bean.selectedObject}">
                                                <f:selectItem itemLabel="  No. Oficio " itemValue="no"/>
                                                <f:selectItem itemLabel="  No. Oficio Turnado " itemValue="ot"/>
                                                <f:selectItem itemLabel="  Turnado a" itemValue="t"/>
                                            </ice:selectOneRadio>
                                            <ice:outputLabel id="outputLabel20" style="left: 648px; top: 24px; position: absolute" value="Fecha"/>
                                            <ice:selectInputDate id="selectInputDate2" popupDateFormat="dd/MM/yyyy" renderAsPopup="true"
                                                renderMonthAsDropdown="true" renderYearAsDropdown="true"
                                                style="height: 19px; left: 640px; top: 48px; position: absolute; width: 189px"
                                                value="#{correspondencia.parametrosFiltro.fecha}" valueChangeListener="#{correspondencia.selectInputDate2_processValueChange}"/>
                                            <ice:commandButton action="#{correspondencia.button3_action}" id="button3" image="/resources/images/reload.png"
                                                rendered="false" style="height: 45px; left: 1080px; top: 72px; position: absolute; width: 45px"
                                                title="Agregar sentenciado" value="submit"/>
                                            <ice:commandButton action="#{correspondencia.button6_action}" id="button6" image="/images/nuevo.png"
                                                style="height: 69px; left: 48px; top: 48px; position: absolute; width: 69px" title="Agregar sentenciado" value="submit"/>
                                            <ice:commandButton action="#{correspondencia.button1_action}" id="button12" image="/resources/images/search_.png"
                                                style="height: 35px; left: 775px; top: 48px; position: absolute; width: 35px" title="Agregar sentenciado" value=" "/>
                                        </ice:panelLayout>
                                        <ice:panelLayout id="panelLayout9" style="background-position: 50%,50%; height: 475px; left: 24px; top: 120px; position: absolute; text-align: center; width: 1092px">
                                            <ice:dataTable id="dataTable1" rows="10" scrollHeight="400px" scrollable="true" style="height: 421px"
                                                value="#{correspondencia.listaPrinTurnadosFiltro}" var="currentRow">
                                                <ice:column groupOn="#{currentRow.oficios.oficio}" id="column1" style="text-align: center;">
                                                    <ice:outputText id="outputText7"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText8" value="Opciones"/>
                                                    </f:facet>
                                                    <ice:commandLink actionListener="#{correspondencia.commandLink3_processAction}" id="commandLink3">
                                                        <ice:graphicImage id="graphicImage3" style="border-style: none; height: 22px; width: 18px"
                                                            title="Modificar Oficio" url="/resources/images/edit.png"/>
                                                    </ice:commandLink>
                                                    <ice:commandLink actionListener="#{correspondencia.commandLink4_processAction}" id="commandLink4">
                                                        <ice:graphicImage id="graphicImage4" style="border-style: none; height: 18px; width: 18px"
                                                            title="Detalles de oficio" url="/resources/images/detail.png"/>
                                                    </ice:commandLink>
                                                </ice:column>
                                                <ice:column groupOn="#{currentRow.oficios.oficio}" id="c2" style="width: 90px">
                                                    <ice:outputText id="otc2" style="width: 90px" value="#{currentRow.oficios.oficio}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="ott2" style="width: 90px" value="No. Oficio"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column groupOn="#{currentRow.oficios.catAsuntos.asunto}" id="column2" style="width: 150px">
                                                    <ice:outputText id="outputText9" style="width:140px" value="#{currentRow.oficios.catAsuntos.asunto}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText10" style="width:140px" value="Asunto"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column groupOn="#{currentRow.oficios.catInstancias.descripcion}" id="column3" rendered="true" style="width: 150px">
                                                    <ice:outputText id="outputText11" style="width:140px" value="#{currentRow.oficios.catInstancias.descripcion}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText12" style="width:140px" value="Instancia"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column12" style="width: 150px">
                                                    <ice:outputText id="outputText31" style="width:140px" value="#{currentRow.oficio}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText32" style="width:140px" value="No. Oficio Turnado"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column4" style="width: 150px">
                                                    <ice:outputText id="outputText13" style="width:140px" value="#{currentRow.cadenaT}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText14" style="width:140px" value="Nombre"/>
                                                    </f:facet>
                                                </ice:column>
                                                <ice:column id="column5_" style="width: 150px">
                                                    <ice:outputText id="outputText28_" style="width:140px" value="#{currentRow.fecha}"/>
                                                    <f:facet name="header">
                                                        <ice:outputText id="outputText29_" style="width:140px" value="Fecha"/>
                                                    </f:facet>
                                                </ice:column>
                                            </ice:dataTable>
                                            <ice:dataPaginator fastStep="2" for="dataTable1" id="dataPaginator1" paginator="true" paginatorMaxPages="10"
                                                rowsCountVar="2" style="background-position: center center; position: relative">
                                                <f:facet name="first">
                                                    <ice:graphicImage alt="First" id="graphicImage5" style="width: 18px; height: 18px; border: none;"
                                                        title="First" url="./xmlhttp/css/xp/css-images/arrow-first.gif"/>
                                                </f:facet>
                                                <f:facet name="last">
                                                    <ice:graphicImage alt="Last" id="graphicImage6" style="width: 18px; height: 18px; border: none;"
                                                        title="Last" url="./xmlhttp/css/xp/css-images/arrow-last.gif"/>
                                                </f:facet>
                                                <f:facet name="previous">
                                                    <ice:graphicImage alt="Previous" id="graphicImage7" style="width: 18px; height: 18px; border: none;"
                                                        title="Previous" url="./xmlhttp/css/xp/css-images/arrow-previous.gif"/>
                                                </f:facet>
                                                <f:facet name="next">
                                                    <ice:graphicImage alt="Next" id="graphicImage8" style="width: 18px; height: 18px; border: none;"
                                                        title="Next" url="./xmlhttp/css/xp/css-images/arrow-next.gif"/>
                                                </f:facet>
                                                <f:facet name="fastforward">
                                                    <ice:graphicImage alt="Fast Forward" id="graphicImage9" style="width: 18px; height: 18px; border: none;"
                                                        title="Fast Forward" url="./xmlhttp/css/xp/css-images/arrow-ff.gif"/>
                                                </f:facet>
                                                <f:facet name="fastrewind">
                                                    <ice:graphicImage alt="Fast Rewind" id="graphicImage10" style="width: 18px; height: 18px; border: none;"
                                                        title="Fast Rewind" url="./xmlhttp/css/xp/css-images/arrow-fr.gif"/>
                                                </f:facet>
                                            </ice:dataPaginator>
                                        </ice:panelLayout>
                                    </ice:panelLayout>
                                </ice:panelGrid>
                            </ice:panelCollapsible>
                            <ice:panelCollapsible expanded="true" id="panelCollapsible1" toggleOnClick="true">
                                <f:facet name="header">
                                    <ice:panelGroup id="panelGroup1" styleClass="">
                                        <ice:outputText id="outputText1" value="Control de Correspondencia"/>
                                    </ice:panelGroup>
                                </f:facet>
                                <ice:panelGrid id="panelGrid1" style="background-color: #G1G1G1; width: 99%"/>
                            </ice:panelCollapsible>
                        </ice:form>
                    </div>
                    <div id="ftr">
                        <center>
                            ©  2014  -Visitaduria General-
                            <br>
                            Procuraduria General de Justicia
                            </br>
                        </center>
                    </div>
                </center>
            </body>
            <script language="javascript">
                function gup( name ){
                    var regexS = "[?]"+name+"=([^#]*)";
                    var regex = new RegExp( regexS );
                    var tmpURL = window.location.href;
                    var results = regex.exec( tmpURL );
                    if( results == null )
                        return"";
                    else
                        return results[1];
                }
                var exp_name = gup( 'exp' );
                if (exp_name != "") {
                    document.getElementById("form1:inputText5").value=exp_name;
                    document.getElementById("form1:button11").click();
                }else{
                    document.getElementById("form1:inputText5").value=0;
                    document.getElementById("form1:button12").click();
                }
            </script>
        </html>
    </f:view>
</jsp:root>
